package top.boycharse.factory.presenter.account;

import androidx.annotation.StringRes;

import top.boycharse.factory.presenter.BaseContract;

public class LoginContract {
    public interface View extends BaseContract.View<Presenter>{
        // 登录成功
        void loginSuccess();
    }

    public interface Presenter extends BaseContract.Presenter {
        // 发起一个登录
        void login(String phone, String password);

        // 检查手机号是否正确
        boolean checkMobile(String phone);
    }
}
